package com.mty.cc.mapper;


import com.mty.cc.po.Admin;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface AdminMapper {

    int deleteById(@Param("id") String id);

    int insert(Admin admin);

    Admin queryById(@Param("id") String id);

    List<Admin> queryByAll();

    List<Admin> queryByOne(@Param("username") String username,@Param("password") String password);

    int update(Admin admin);
}